package com.itjob.scott.service.impl;

import org.springframework.stereotype.Service;

import com.itjob.scott.entity.UserEntity;
import com.itjob.scott.service.UserService;


@Service
public class UserServiceImpl implements UserService {

	public boolean validate(UserEntity user) {
		
		return "lin".equals(user.getUsername()) && "123".equals(user.getPassword());
	}

}
